/*
 * OrderDetailInfoHolder.java
 * business
 *
 * Created by SunDing on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.viewholder;

import android.view.View;
import android.widget.TextView;

import com.yidiandao.business.R;
import com.yidiandao.business.ui.widget.listview.ViewHolder;

/** 订单详情 价格 */
public class OrderDetailPayInfoHolder extends ViewHolder {
    public TextView mTvTotalValue;
    public TextView mTvTotalCarriage;
    public TextView mTvTotalMoney;
    public TextView mTvRedPacket;
    public TextView mTvNvoice;
    public TextView mTvCharge;
    public TextView mTvCoupon;
    @Override
    protected void initView(View rootView) {
        mTvNvoice = (TextView) rootView.findViewById(R.id.tv_nvoice);
        mTvTotalValue = (TextView) rootView.findViewById(R.id.tv_total_value);
        mTvTotalCarriage = (TextView) rootView.findViewById(R.id.tv_total_carriage);
        mTvTotalMoney = (TextView) rootView.findViewById(R.id.tv_total_money);
        mTvRedPacket = (TextView) rootView.findViewById(R.id.tv_red_packet);
        mTvCharge = (TextView) rootView.findViewById(R.id.tv_handling_charge);
        mTvCoupon = (TextView) rootView.findViewById(R.id.tv_coupon);
    }

    @Override
    protected int getItemLayoutId() {
        return R.layout.item_order_detail_info;
    }
}
